package top.rainf.service;

import top.rainf.domain.vo.Notice;
import top.rainf.domain.vo.Post;

import java.util.List;

/**
 * @author 星环
 * @date null
 * @description 自动生成的通知服务接口
 */
public interface INoticeService {

    List<Notice> getNoticeList();

    Notice getOneById(int id);

    boolean deleteOneById(int id);

    boolean deleteAll(List<Integer> idList);

    boolean updateById(Notice notice);

    void sendTo(int authorId, String s);

    List<Notice> getUserSimplePostListPaged(int userId, int nowPage, int numPerPage);

    int getTotalCountOfUser(int userId);

    int checkNew(int id);
}
